package com.mapper;

import com.entity.Selleractivityrecord;
import com.entity.SelleractivityrecordExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface SelleractivityrecordMapper {
    long countByExample(SelleractivityrecordExample example);

    int deleteByExample(SelleractivityrecordExample example);

    int deleteByPrimaryKey(Integer sarid);

    int insert(Selleractivityrecord record);

    int insertSelective(Selleractivityrecord record);

    List<Selleractivityrecord> getAll();

    List<Selleractivityrecord> getSelleractivityrecordsByPage(Map<String,Object> map);

    List<Selleractivityrecord> selectByExample(SelleractivityrecordExample example);

    Selleractivityrecord selectByPrimaryKey(Integer sarid);

    int updateByExampleSelective(@Param("record") Selleractivityrecord record, @Param("example") SelleractivityrecordExample example);

    int updateByExample(@Param("record") Selleractivityrecord record, @Param("example") SelleractivityrecordExample example);

    int updateByPrimaryKeySelective(Selleractivityrecord record);

    int updateByPrimaryKey(Selleractivityrecord record);
}